<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        table {
            border-collapse: collapse;
        }

        th,
        td {
            border: 1px solid black;
            width: 80px;
            height: 30px;
            text-align: center;
        }

        th {
            background-color: cyan;
        }

        tr:hover {
            background-color: red
        }

      
    </style>
</head>

<body>
    <table>
        <tr>
            <th>姓名</th>
            <th>年龄</th>
            <th>性别</th>
            <th>身高</th>
            <th>体重</th>
        </tr>
        <tr>
            <td>张三</td>
            <td>18</td>
            <td>男</td>
            <td>183</td>
            <td>183</td>
        </tr>
        <tr>
            <td>李四</td>
            <td>21</td>
            <td>男</td>
            <td>178</td>
            <td>145</td>
        </tr>
        <tr>
            <td>王五</td>
            <td>19</td>
            <td>女</td>
            <td>168</td>
            <td>120</td>
        </tr>
        <tr>
            <td>老六</td>
            <td>29</td>
            <td>女</td>
            <td>165</td>
            <td>120</td>
        </tr>
    </table>
</body>

</html>